<?php
$tm=$_GET['tm'];
$tm=$tm+1;
$tm='a'.$tm;
$id= $_GET['id'];
include("database.php");
$sql = "DELETE FROM `".$tm."` WHERE id= '".$id."'";
$res=$conn->query($sql);
$conn->close();
?>